/*
 * Alexey Danchuk
 * This software is an implementation of the task from OOP module.
 */

/**
 * This class describes logical question type.
 *
 * @version 1.01 30 January 2013
 * @author Alexey Danchuk
 */
class LogicalQuestion extends Question {
	/**
	 * This variable holds the correct answer to the question.
	 */
	private String[] correctAnswers;

	protected LogicalQuestion(String inQuestion, String[] inAnswers,
						      String[] correctAnswers) {
		super(inQuestion, inAnswers);
		saveAnswer(correctAnswers);
	}

	@Override
	protected int chekAnswer(String[] userAnswers) {
		/* Some cool comparison algorithm for LogicalQuestion. */
		return 0;
	}

	@Override
	protected void saveAnswer(String[] answers) {
		correctAnswers = answers;

	}
}
